﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace dataSend
{
    public partial class WaittingForm : DevComponents.DotNetBar.Office2007Form
    {
        public WaittingForm()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 关闭进度条显示窗口
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        public void closeForm(object sender, RunWorkerCompletedEventArgs e)
        {
            this.Close();
        }

        /// <summary>
        /// 显示进度条
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        public void progessChange(object sender, ProgressChangedEventArgs e)
        {
            this.proWait.Value = e.ProgressPercentage;
        }
    }
}
